/* Creative List
 **************************/
@import "../themes/default";
.list-op-footer {
	padding: 10px 0;
	background-color: $creative-list-top;
	border: 1px solid $creative-border;
	.pagination {
		margin: 0;
	}
}
.list-content-wrap {
	padding-top: 10px;
	border-left: 1px solid $creative-border;
	border-right: 1px solid $creative-border;
	.creative-wrap {
		padding: 0;
		header {
			padding: 5px;
			text-align: text;
		}
		footer {
			padding: 5px;
			background-color: #f0f0f0;
			border-top: 1px solid $creative-border;
		}
	}
}
// List filter.
.list-filter {
	form {
		& > .row {
			padding: 10px 0;
			& + .row {
				border-top: 1px dashed $creative-border;
			}
		}
	}
	.filter-label {
		position: relative;
		cursor: pointer;
		.fa {
			position: absolute;
			top: 2px;
			right: -8px;
			width: 12px;
			color: $blue-light;
		}
	}
	.filter-eles-wrap {
		& > .col-sm-2 {
			display: none;
		}
		& > {
			div:nth-child(1),
			div:nth-child(2),
			div:nth-child(3),
			div:nth-child(4),
			div:nth-child(5),
			div:nth-child(6){
				display: block;
			}
		}
	}
	.filter-eles {
		position: relative;
		.half-checked {
			color: $blue-light;
		}
		label {
			vertical-align: middle;
			font-weight: normal;
			cursor: pointer;
		}
		.popover {
			top: 65%;
			min-width: 135px;
			background-color: $white;
			.arrow {
				left: 20%;
			}
			ul {
				margin-bottom: 0;
			}
		}
	}
	.checkbox {
		margin-top: 0;
		margin-bottom: 0;
		padding-top: 0;
	}
	.form-group {
		.control-label {
			padding-left: 0;
			padding-right: 0;
		}
	}
}
// Creative list wrap
#creative-list-wrap {
	padding-top: 10px;
	border-left: 1px solid $creative-border;
	border-right: 1px solid $creative-border;
	h4 {
		margin-top: 0;
		margin-bottom: 5px;
	}
}
// Thumbnail.
.thumbnail {
	padding: 0;
	border-color: #ccc;
	header {
		color: $white;
		margin-bottom: 0;
		padding: 5px;
		text-align: center;
		border: none;
		border-radius: 3px 3px 0 0;
		text-shadow: 1px 1px 6px $creative-header-text;
		&.status-default {
			background-color: $creative-status-default;
		}
		&.status-success {
			background-color: $creative-status-success;
		}
		&.status-failure {
			background-color: $creative-status-danger;
		}
		&.status-urgent {
			background-color: $creative-status-warning;
		}
		input {
			float: left;
			margin-right: 5px;
			cursor: pointer;
		}
	}
	.creative-cont {
		position: relative;
	}
	.caption {
		padding: 3px 10px 0 10px;
		p {
			margin-bottom: 5px;
			overflow: hidden;
			white-space: nowrap;
			text-overflow: ellipsis;
			word-spacing: normal;
		}
	}
	footer {
		padding: 5px 3px;
		border-top: 1px solid $creative-border;
		background-color: $creative-footer-bg;
		.creative-code {
			display: none;
		}
	}
}
// Creative content.
.creative-cont {
	.inner {
		position: relative;
		width: 100%;
		height: 250px;
		border-bottom: 1px solid $creative-border;
		overflow: hidden;
		.creative-ifr {
			padding: 0;
			border: none;
			overflow: hidden;
			cursor: pointer;
		}
		.create-time {
			position: absolute;
			right: 0;
			bottom: 0;
			display: inline-block;
			padding: 5px;
			color: $white;
			width: 145px;
			/*height: 50px;*/
			text-align: center;
			background: $creative-date-bg;
		}
		.pic {
			margin: 0 auto;
			text-align: center;
			vertical-align: middle;
		}
		.flowplayer {
			max-height: 250px;
			.fp-embed {
				display: none;
			}
		}
	}
}
.list-op-footer {
	padding: 10px 0;
	border: 1px solid $creative-border;
	background-color: $creative-list-top;
	input {
		margin-right: 10px;
		cursor: pointer;
		text-align: center;
	}
	.form-control {
		display: inline-block;
		width: 75px;
	}
	.form-control-static {
		display: inline-block;
		margin-right: 10px;
	}
	.pagination {
		li {
			span,
			a {
				margin-left: 3px;
			}
		}
	}
	.pager {
		margin-top: 2px;
		margin-bottom: 0;
		margin-left: 10px;
		li {
			input {
				margin-right: 0;
				cursor: text;
			}
			a.btn {
				margin-top: -1px;
				border: 1px solid $border-color;
				border-radius: 5px;
			}
		}
	}
}
// Modal details
.details-modal {
	.modal-dialog {
		width: 95%;
		p {
			overflow: hidden;
			white-space: nowrap;
			text-overflow: ellipsis;
			word-spacing: normal;
		}
	}
	.details-audit-status {
		margin-top: 15px;
	}
	.details-audit-op {
		margin-top: 30px;
		text-align: center;
	}
	.left-solid-border {
		border-left: 1px solid $creative-border;
	}
	.left-dashed-border {
		border-left: 1px dashed $creative-border;
	}
	.details-content {
		width: 100%;
		height: 100%;
		margin: 0 auto;
		overflow-x: hidden;
		overflow-y: auto;
	}
	.details-wrap {
		display: table;
		width: 100%;
		height: 100%;
		min-height: 450px;
	}
	.details {
		.flowplayer .fp-embed {
			display: none;
		}
		display: table-cell;
		vertical-align: middle;
		text-align: center;
		iframe {
			border: none;
		}
	}
	.details-sync-content {
		table {
			p {
				margin-right: 35px;
			}
			.material-cell {
				position: relative;
			}
			.sync-preview {
				position: absolute;
				top: 8px;
				right: 15px;
				border-radius: 50%;
			}
		}
	}
}
.modal .text-error {
	color: $red;
}

// Tools
.panel .pd15 {
	padding: 15px;
}